/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.longview.io.modules.grassinfo.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.longview.io.common.persistence.Page;
import com.longview.io.common.service.CrudService;
import com.longview.io.modules.grassinfo.entity.UserGrasslandInfo;
import com.longview.io.modules.grassinfo.dao.UserGrasslandInfoDao;

/**
 * 草场信息Service
 * @author zf
 * @version 2018-04-23
 */
@Service
@Transactional(readOnly = true)
public class UserGrasslandInfoService extends CrudService<UserGrasslandInfoDao, UserGrasslandInfo> {

	public UserGrasslandInfo get(String id) {
		return super.get(id);
	}
	
	public List<UserGrasslandInfo> findList(UserGrasslandInfo userGrasslandInfo) {
		return super.findList(userGrasslandInfo);
	}
	
	public Page<UserGrasslandInfo> findPage(Page<UserGrasslandInfo> page, UserGrasslandInfo userGrasslandInfo) {
		return super.findPage(page, userGrasslandInfo);
	}
	
	@Transactional(readOnly = false)
	public void save(UserGrasslandInfo userGrasslandInfo) {
		super.save(userGrasslandInfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(UserGrasslandInfo userGrasslandInfo) {
		super.delete(userGrasslandInfo);
	}
	
}